package com.edu.app.service.sys.linkservices;

import com.edu.app.bean.core.SysActivity;
import com.edu.app.bean.core.SysUser;
import com.edu.app.bean.linkbeans.SysUserActivity;

import com.edu.app.bean.virtualbean.UserActWx;
import com.edu.app.service.sys.BaseService;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface SysUserActivityService extends BaseService<SysUserActivity> {
    List<SysActivity> getActivityByUserId(Integer id);
    List<SysUser> getUserByActivityId(Integer id);
    List<String> getDateHasActivity(String username, String rolePlay);
    List<SysActivity> getActivityByUserName(String username, String date);
    SysUserActivity getUserActivity(Integer user_id, Integer activity_id);
    PageInfo getUserActivityByPage(String username, Integer currentPage, Integer pageSize);
    PageInfo getUserPendingActivityByPage(String username, Integer currentPage, Integer pageSize);
    PageInfo getUserCompletedActivityByPage(String username, Integer currentPage, Integer pageSize);
    PageInfo getMyPendingFeedbackActivity(String username, Integer currentPage, Integer pageSize);
    Integer deleteUserActivityByActivityId(Integer activity_id);
    Integer deleteUserActivityByUserId(Integer user_id);
    Integer getUserPendingActivityNumber(String username, String type, String rolePlay);
    List<UserActWx> getUserActWx();

    PageInfo getInComingActivityModel(String username, String role, Integer currentPage, Integer pageSize, String type);
    PageInfo getActivityModelByStatus(String username, Integer status, String role, String type, Integer currentPage, Integer pageSize, String seq);
}
